/*******************************
        Highlighted Colors
*******************************/

h1::-moz-selection,
h2::-moz-selection,
h3::-moz-selection {
  background-color: #F1C1C2;
  color: #222222;
}
h1::selection,
h2::selection,
h3::selection {
  background-color: #F1C1C2;
  color: #222222;
}
*::-moz-selection {
  background-color: #CCE2FF;
}
*::selection {
  background-color: #CCE2FF;
}
/*******************************
             Global
*******************************/
* {
    margin: 0;
    padding: 0;    
}
body {
    font-family: "Microsoft Yahei","微软雅黑",\5FAE\8F6F\96C5\7EC6,STHeiti,"华文黑体",\534E\6587\9ED1\4F53,SimHei,"黑体",\9ED1\4F53,SimSong,"宋体",\5B8B\4F53,Arial,Helvetica,sans-serif; 
    overflow: auto;
    /*overflow-y: hidden;*/
}
.inner {
    margin: 0 auto;
}
header.main.ui.menu {
    width: 100%;
    position: fixed;
    top: 0;    
    padding: 4px 0;
    overflow: hidden;    
    z-index: 999;
    background-color: #EFEFEF;    
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
}
header.main .ui.menu {
    height: 32px;
    line-height: 32px;
    box-shadow: none;
    -webkit-box-shadow: none;
}
header.main .ui.menu .item {
    padding: 0;
    font-family: "Microsoft Yahei","微软雅黑",\5FAE\8F6F\96C5\7EC6,STHeiti,"华文黑体",\534E\6587\9ED1\4F53,SimHei,"黑体",\9ED1\4F53,SimSong,"宋体",\5B8B\4F53,Arial,Helvetica,sans-serif; 
}
#logo {
    height: 32px;
    width: 32px;
}
#title {
    margin-left: 1rem;
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-shadow: 1px 1px 0px #eee, -1px -1px 0px #eee;
}
#welcome {
    margin-right: 1rem;       
}
#nick {
    color: #ED1B24;
}

#main-menu {
    width: 145px !important;
    padding-top: 4rem; 
    overflow-x: hidden;  
}
#main-menu .item {
    padding-right: 4px;
}
#content-wrapper {    
    padding-top: 4rem;
    padding-bottom: 1rem;
}
#content-wrapper .inner {
    position: relative;     
}
.two.column.grid.layout .column {
    margin-top: 0;
}

#content-table thead th{
    background-color: #ED1B24;
    color: white;
}
#content-table tbody tr img {
    display: block;
}
#content-table tbody tr span {
    vertical-align: middle;
}
#content-table tbody tr span.edit:hover {
    cursor: pointer;
    text-decoration: underline;
}
i.operate.icon:hover {
    color: #6ECFF5; 
    -moz-transform: scale(1.3);
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}
/**i.operate.icon:hover {
    color: #6ECFF5; 
    -moz-transform: scale(1.3);
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}
 * 预览
 */
 .right-preview-col {
    position: absolute;
    top: 0;
    right: 0;
 }
#preview-sidebar {
    width: 354px !important;
    z-index: 999;
    background-color: #ccc;
}
#preview-sidebar.active {
    margin-left: -354px !important;
}

.preview {
    position: relative;
    margin: 0 auto;
}
/**
 * 预览头，一个title，两个按钮
 */
.preview .header-bar {    
    position: relative; 
    height: 32px; 
    line-height: 32px;   
}
.preview .header-bar.black {
    background: #fff; 
    color: #000;
}
.preview .header-bar.white {
    background: #000; 
    color: #fff;
}
.preview .header-bar .title {
    text-align: center
}
.preview .header-bar .left.button {
    position: absolute; 
    left: 3px; 
    top: 1px;
}
.preview .header-bar .right.button {
    position: absolute; 
    right: 3px; 
    top: 1px;
}
/**
 * iphone-5s 模板
 */
.fix-iphone-5s-preview {
    width: 550px;
}
.iphone-5s-preview {
    position: absolute;
    top: 0;
    right: 0;
    transition: top 0.3s;
}
.preview.iphone-5s{
    padding: 93px 24px 90px 26px;
    width: 306px;
    height: 640px;
    background: url('/img/bg/iphone-5s.png') no-repeat; 
}
.preview.iphone-5s .status-bar {
    width: 256px;
    height: 16px;    
}
.preview.iphone-5s .status-bar.black {
    background: #000 url('/img/bg/iphone-5s.png') no-repeat -26px -740px;
}
.preview.iphone-5s .status-bar.white {
    background: #fff url('/img/bg/iphone-5s.png') no-repeat -26px -763px;
}
.preview.iphone-5s .content-wrapper {
    position: relative;
    width: 256px;
    height: 440px;
    overflow: hidden;
    background: #fff;
}
@media screen and (max-height: 1079px) {
    .preview.iphone-5s{
        padding: 86px 21px 83px 24px;
        width: 280px;
        height: 586px;
        background: url('/img/bg/iphone-5s.png') no-repeat -399px 0; 
    }
    .preview.iphone-5s .status-bar {
        width: 235px;
        height: 14px;    
    }
    .preview.iphone-5s .status-bar.black {
        background: #000 url('/img/bg/iphone-5s.png') no-repeat -26px -740px;
    }
    .preview.iphone-5s .status-bar.white {
        background: #fff url('/img/bg/iphone-5s.png') no-repeat -26px -763px;
    }
    .preview.iphone-5s .content-wrapper {
        position: relative;
        width: 235px;
        height: 403px;
        overflow: hidden;
        background: #fff;
    }
}
@media screen and (max-height: 767px) {
    .preview.iphone-5s{
        padding: 86px 21px 83px 24px;
        width: 280px;
        height: 586px;
        background: url('/img/bg/iphone-5s.png') no-repeat -399px 0; 
    }
    .preview.iphone-5s .status-bar {
        width: 235px;
        height: 14px;    
    }
    .preview.iphone-5s .status-bar.black {
        background: #000 url('/img/bg/iphone-5s.png') no-repeat -26px -740px;
    }
    .preview.iphone-5s .status-bar.white {
        background: #fff url('/img/bg/iphone-5s.png') no-repeat -26px -763px;
    }
    .preview.iphone-5s .content-wrapper {
        position: relative;
        width: 235px;
        height: 403px;
        overflow: hidden;
        background: #fff;
    }
}
 
.select-list {
    font-size: 0;
    margin: 5px auto;
    overflow: hidden;
}
.select-list .select-item {
    cursor: move;
    display: inline-block;
}
.select-item {
    border: 3px solid #FFF;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);    
    margin: 5px;
    position: relative;
}

.select-item.bbg {
    width: 206px; 
}
.select-item.main {
    width: 206px; 
}
.select-item.sub {
    width: 134px; 
}
.select-item.sub2 {
    width: 134px; 
}
.select-item img {
    display: block;
    width: 100%
}
@media screen and (max-height: 767px) {

    .select-item.bbg {
        width: 166px; 
    }
    .select-item.main {
        width: 166px; 
    }
    .select-item.sub2 {
        width: 106px;
    }
    .select-item.sub {
        width: 106px;
    }
}
.select-item .mask {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.0);
}
.select-item .title {
    position: absolute; 
    bottom: 0; 
    width: 100%; 
    box-sizing: border-box;
    min-height:14px; 
    line-height: 14px; 
    padding: 2px 4px; 
    overflow:hidden; 
    background-color: rgba(0, 0, 0, 0.7); 
    color: #fff; 
    font-size: 12px; 
    font-weight: bold;
}
.select-item:hover,
.select-item.trigered {
    border: 3px solid #6ECFF5;
}
.select-no-record {
    text-align: center; 
    margin-top: 3rem;
}

.blue-bold {
    font-weight: bold; 
    color: #ED1B24;
}
.info.segment .label {
    text-transform: none;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.info.segment .label:first-child {
    margin-top: 0;
}

/****************************************/
/** style for article template select  **/
/****************************************/
.tpl-select {
    width: 868px;
    height:  593px;
}
.tpl-select .iphone-5s-wrapper {
    padding: 86px 21px 83px 24px;
    border: 3px solid #FFFFFF;
    background: url('/img/bg/iphone-5s.png') no-repeat -399px 0; 
    display: inline-block;
    overflow: hidden;
    width: 235px;
    height: 421px;
    position: relative;
}
.tpl-select .iphone-5s-wrapper .status-bar {
    width: 235px;
    height: 14px;    
}
.tpl-select .iphone-5s-wrapper .status-bar.black {
    background: #000 url('/img/bg/iphone-5s.png') no-repeat -26px -740px;
}
.tpl-select .iphone-5s-wrapper .tpl-image {
    width: 235px;
    max-height: 417px;
}
.tpl-select .iphone-5s-wrapper .ui.label {
    display: none;
}
.tpl-select .iphone-5s-wrapper:hover {
    border: 3px solid #E8E8E8;
    cursor: pointer;
}
.tpl-select .iphone-5s-wrapper:hover .ui.label {
    display: inline-block;
}
.tpl-select .iphone-5s-wrapper.active {
    border: 3px solid #6ECFF5 !important;
}
.tpl-select .iphone-5s-wrapper.active .ui.label {
    display: inline-block;
    color: #6ECFF5;
}

/******************************/
/**** 首页样式   **********/
/******************************/
.index-wrapper {
    padding-left: 5rem;
    padding-right: 5rem;
    padding-bottom: 5rem;
    overflow-y: scroll;
}
.index-wrapper h2.header {
    padding-top: 1rem;
}
.index-wrapper h3.header {
    padding-top: 0.5rem;
    padding-bottom: 0.2rem;
}
.index-wrapper .ui.list .list {
    padding-top: 0;
    padding-left: 1rem;
}
.index-wrapper .info {
    width: 400px;
}
.index-wrapper .permission {
    padding-top: 50px;
}

.ui.accordion>.title {
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.5rem;
    margin-top: 1rem;

}
.ui.accordion>.content,
.ui.accordion .accordion>.content {
    margin-left: 1.42857rem;
}
.ui.accordion .accordion>.title {
    font-size: 1.2rem;
    margin-top: .6rem;
    margin-bottom: .2rem;
}

div.file-input {
    width: 100%;
    font-family: Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;;
    margin: 0;
    outline: 0;
    -webkit-appearance: none;
    line-height: 1.2142em;
    padding: .67861429em 2.67142857em .67861429em 1em;
    font-size: 1em;
    background: #FFFFFF;
    border: 1px solid rgba(34,36,38,.15);
    color: rgba(128,128,128,.87);
    opacity: .45;
    border-radius: .28571429rem;
    box-shadow: 0 0 0 0 transparent inset;
    -webkit-transition: color .1s ease,border-color .1s ease;
    transition: color .1s ease,border-color .1s ease;
    -webkit-rtl-ordering: logical;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.error div.file-input {
    background: #FFF6F6;
    border-color: #E0B4B4;
    color: #E0B4B4;
}

.ui.list>.item>.warn_tip {
    color: red;
}

.ui.inline.dropdown .dropdown.icon {
    padding-top: 0;
}
/*增加个性化样式 2018.2.26 by li*/
.c-login{
    background-size: contain;
    background: url('/img/login/bg.jpg') center no-repeat;

}
.c-login .login-form{
    background-size: cover;
    background: url('/img/login/form-bg.png') center no-repeat;
    padding-left: 300px;
    width: 680px;
    margin:0 auto;
    margin-top: 50px;
    position: relative;
    /*height:380px;*/
    height: 500px;

}
.c-login .login-form-desc{
    width: 680px;
    margin: 10px auto;
    position: relative;
    color: #fff;
    padding-left:38px;
    background: url('/img/login/warning.png?_t=1') left no-repeat;

}

.c-login .login-form-foot{
    /*width: 680px;*/
    margin: 30px auto;
    position: relative;
    color: black;
    font-weight: bold;
    padding-top: 300px;
    /*backgroup-color:#085777;*/
    text-align: center;
    /*background: url('/img/login/warning.png?_t=1') left no-repeat;*/
}

.c-login .login-form .login-form-fields{
    padding:20px;
}
.c-login .login-form .login-form-info{
    position: absolute;
    width: 220px;
    top:30px;
    left:30px;
    color: #ffffff;
}
.c-login .login-form .submit{
    background: url('/img/login/submit.png') left no-repeat;
    background-size: contain;
    display: block;
    width: 300px;
    height: 43px;
    cursor: pointer;
}
.c-login .login-form .qrCodeSuccess,.c-login .login-form .qrCodeRefresh,.c-login .login-form .qrCodeScaned{
    width: 182px;
    height: 180px;
    z-index: 100;
    background: #fff no-repeat;
    position: absolute;
    opacity: 0.96;
    left: 16px;
    margin:10px;
    margin-top:0;
    display: none;
}
.c-login .login-form .qrCodeScaned div{
    position: absolute;
    z-index: 110;
    height:180px;
    width: 180px;
    opacity: 1;
    background:#fff url('/img/login/right.png') 50% 40% no-repeat;
    line-height:290px;
}
.c-login .login-form .qrCodeSuccess div{
    position: absolute;
    z-index: 110;
    height:180px;
    width: 180px;
    opacity: 1;
    background:#fff url('/img/login/right.png') 50% 40% no-repeat;
    line-height:290px;
}
.c-login .login-form .qrCodeRefresh div{
    position: absolute;
    z-index: 110;
    height:180px;
    width: 180px;
    opacity: 1;
    background:#fff url('/img/login/refresh.png') 50% 40% no-repeat;
    line-height:290px;
    cursor:pointer;
}
/*.c-login .login-form .ui.error.message{padding:0;position: fixed;top:0;margin:0;}*/
.c-login .login-form .ui.error.message{display: none;}
.c-login .login-form .login-tab{padding:10px 20px;padding-bottom:10px;text-align: center;}
.c-login .login-form .login-tab li{list-style: none;display: inline-block;cursor: pointer;color:#777;font-size: 16px;padding:10px;}
.c-login .login-form .login-tab li.active{color:#000;border-bottom:2px #28a3db solid;}
.c-login .login-form .login-tab li:hover{color:#000;}
